package com.example.demo.pojo;


import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;

import java.util.Collection;

public class User {
	private int id;
	private String userAccount;
	private String userPassword;
	private String userName;
	private String userPower;
	private String role;
	private String userPhone;
	private String userEmail;
	private String userProfile;
	private String userTokenWeb;
	private String userTokenApp;
	private int ban;

	public int getBan() {
		return ban;
	}

	public void setBan(int ban) {
		this.ban = ban;
	}

	public int getId() {
		return id;
	}

	public String getUserAccount() {
		return userAccount;
	}

	public String getUserPassword() {
		return userPassword;
	}

	public String getUserName() {
		return userName;
	}

	public String getUserPower() {
		return userPower;
	}

	public String getUserPhone() {
		return userPhone;
	}

	public String getUserEmail() {
		return userEmail;
	}

	public String getUserProfile() {
		return userProfile;
	}

	public String getUserTokenWeb() {
		return userTokenWeb;
	}

	public String getUserTokenApp() {
		return userTokenApp;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public void setUserPower(String userPower) {
		this.userPower = userPower;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	public void setUserProfile(String userProfile) {
		this.userProfile = userProfile;
	}

	public void setUserTokenWeb(String userTokenWeb) {
		this.userTokenWeb = userTokenWeb;
	}

	public void setUserTokenApp(String userTokenApp) {
		this.userTokenApp = userTokenApp;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	@Override
	public String toString() {
		return "User{" +
				"id=" + id +
				", userAccount='" + userAccount + '\'' +
				", userPassword='" + userPassword + '\'' +
				", userName='" + userName + '\'' +
				", userPower='" + userPower + '\'' +
				", role='" + role + '\'' +
				", userPhone='" + userPhone + '\'' +
				", userEmail='" + userEmail + '\'' +
				", userProfile='" + userProfile + '\'' +
				", userTokenWeb='" + userTokenWeb + '\'' +
				", userTokenApp='" + userTokenApp + '\'' +
				", ban=" + ban +
				'}';
	}
}
